package site.lanmushan.generate.configs;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author Administrator
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TemplateConfig {
    private String dir;
    /**
     * 模板名称
     */
    private String tplName;
    /**
     * 前缀
     */
    private String prefix;
    /**
     * 后缀
     */
    private String suffix;
    /**
     * 首字母小写
     */
    private boolean lowFirst;

    private String outName;

    public TemplateConfig(String dir, String tplName, String prefix, String suffix, boolean lowFirst) {
        this.dir = dir;
        this.tplName = tplName;
        this.prefix = prefix;
        this.suffix = suffix;
        this.lowFirst = lowFirst;
    }
}
